package com.xmb.common.service.wx;

import com.github.binarywang.wxpay.bean.result.WxPayRedpackQueryResult;
import com.github.binarywang.wxpay.exception.WxPayException;
import com.xmb.common.entity.XmbWechatRedPackOrder;

/**
 * Created by lyndon on 2019/4/11.
 * 微信 企业给用户发红包
 */
public interface WxPaySendRedpackService {

    /**
     * 查询红包结果
     * @param mchBillNo
     * @return
     * @throws WxPayException
     */
    WxPayRedpackQueryResult queryRedpack(String mchBillNo) throws WxPayException;

    /**
     * 发送红包
     * @param sendRedpackParam
     */
    void sendRedPack(XmbWechatRedPackOrder sendRedpackParam);
}
